import request from '@/api/request'

export const getToken = () => (uni.getStorageSync('token'))
export const setToken = (token) => {uni.setStorageSync('token', token)}

/**request
 * 或者证件照的所有可制作尺寸
 * @returns {*}
 */
export const getPhotoSpecs = () => {
    return request.get('/photo/photoSpecs')
}

/**getPhotoSpecs
 * 阿里云服务的相对地址
 * @type {string}
 */
export const getPhotoSpecsURL = '/photo/getPhotoSpecs'


/**getPhotoSpecs
 * 本地服务的相对地址
 * @type {string}
 */
export const getPhotoGetDivisionIDPhotosURL = '/photo/getPhotoGetDivisionIDPhotos';